/* ============================================================
           REGISTER PAGE CSS - MATCHING LOGIN PAGE STYLE
           ============================================================ */
        
        /* ===== CSS CUSTOM PROPERTIES (THEME) ===== */
        :root {
            --primary: #00aaff;
            --primary-dark: #0088cc;
            --primary-light: #33bbff;
            --primary-glow: rgba(0, 170, 255, 0.2);
            --primary-bg: rgba(0, 170, 255, 0.08);
            --accent: #F59E0B;
            --accent-dark: #D97706;
            --accent-light: #FBBF24;
            --text-primary: #0F172A;
            --text-secondary: #1E293B;
            --text-muted: #64748B;
            --text-light: #94A3B8;
            --bg-white: #FFFFFF;
            --bg-light: #F0FAFF;
            --bg-gray: #F1F5F9;
            --bg-dark: #0F172A;
            --border-color: #CCEFFF;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
            --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
            --space-xs: 0.25rem;
            --space-sm: 0.5rem;
            --space-md: 1rem;
            --space-lg: 1.5rem;
            --space-xl: 2rem;
            --space-2xl: 3rem;
            --space-3xl: 4rem;
            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --radius-xl: 1rem;
            --radius-full: 9999px;
            --transition-fast: 150ms ease;
            --transition-base: 250ms ease;
            --transition-slow: 350ms ease;
            --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        /* ===== RESET & BASE ===== */
        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-family);
            background: var(--bg-light);
            color: var(--text-primary);
            line-height: 1.5;
            font-size: 14px;
            overflow-x: hidden;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }
        button { cursor: pointer; font-family: inherit; }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 var(--space-lg);
        }

        /* ===== SCROLLBAR ===== */
        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: var(--bg-light); }
        ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-full); }
        ::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

        /* ============================================================
           REGISTER CONTAINER
           ============================================================ */
        .register-wrapper {
            width: 100%;
            max-width: 1200px;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
        }

        .register-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            background: var(--bg-white);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-2xl);
            overflow: hidden;
            max-width: 1000px;
            width: 100%;
            border: 1px solid var(--border-color);
        }

        /* ============================================================
           LEFT SIDE - BRANDING (Same as Login)
           ============================================================ */
        .register-brand {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            padding: 50px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .register-brand::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -30%;
            width: 300px;
            height: 300px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
        }

        .register-brand::after {
            content: '';
            position: absolute;
            bottom: -40%;
            left: -20%;
            width: 250px;
            height: 250px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 50%;
        }

        .register-brand .brand-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
        }

        .register-brand .brand-logo img {
            width: 50px;
            height: 50px;
            border-radius: var(--radius-sm);
            object-fit: contain;
            background: rgba(255,255,255,0.1);
            padding: 4px;
        }

        .register-brand .brand-logo h2 {
            font-size: 26px;
            font-weight: 800;
            color: white;
        }

        .register-brand .brand-logo h2 span {
            font-weight: 300;
            opacity: 0.8;
        }

        .register-brand h1 {
            font-size: 34px;
            font-weight: 800;
            margin-bottom: 14px;
            position: relative;
            z-index: 1;
        }

        .register-brand p {
            font-size: 16px;
            opacity: 0.85;
            max-width: 350px;
            line-height: 1.8;
            position: relative;
            z-index: 1;
        }

        .register-brand .brand-features {
            margin-top: 30px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            position: relative;
            z-index: 1;
        }

        .register-brand .brand-features .feature {
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 15px;
            opacity: 0.9;
        }

        .register-brand .brand-features .feature i {
            width: 24px;
            font-size: 18px;
            color: white;
        }

        /* Payment method badges */
        .payment-badges {
            display: flex;
            gap: 8px;
            margin-top: 4px;
            flex-wrap: wrap;
        }

        .payment-badge {
            background: rgba(255, 255, 255, 0.15);
            padding: 3px 12px;
            border-radius: var(--radius-full);
            font-size: 11px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .payment-badge i {
            font-size: 12px;
        }

        /* ============================================================
           RIGHT SIDE - REGISTER FORM (Same as Login Form)
           ============================================================ */
        .register-form {
            padding: 40px 35px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: var(--bg-white);
        }

        .register-form .form-header {
            margin-bottom: 24px;
        }

        .register-form .form-header h3 {
            font-size: 24px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .register-form .form-header p {
            color: var(--text-secondary);
            font-size: 14px;
        }

        .register-form .form-header p a {
            color: var(--primary);
            font-weight: 600;
        }

        .register-form .form-header p a:hover {
            text-decoration: underline;
        }

        /* ===== FORM GROUP ===== */
        .form-group {
            margin-bottom: 16px;
        }

        .form-group label {
            display: block;
            font-weight: 600;
            font-size: 0.75rem;
            color: var(--text-secondary);
            margin-bottom: 6px;
        }

        .form-group label .required {
            color: #EF4444;
        }

        .form-group .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            border: 2px solid var(--border-color);
            border-radius: var(--radius-md);
            transition: all var(--transition-base);
            background: var(--bg-light);
            padding: 0 var(--space-sm);
            height: 48px;
        }

        .form-group .input-wrapper:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px var(--primary-glow);
        }

        .form-group .input-wrapper .input-icon {
            color: var(--text-muted);
            font-size: 0.85rem;
            transition: all var(--transition-base);
            min-width: 28px;
        }

        .form-group .input-wrapper:focus-within .input-icon {
            color: var(--primary);
        }

        .form-group .input-wrapper input {
            flex: 1;
            padding: 0.6rem 0.4rem;
            border: none;
            background: transparent;
            font-family: var(--font-family);
            font-size: 0.85rem;
            color: var(--text-primary);
            outline: none;
            width: 100%;
        }

        .form-group .input-wrapper input::placeholder {
            color: var(--text-light);
            font-size: 0.8rem;
        }

        /* ===== PASSWORD TOGGLE BUTTON ===== */
        .form-group .input-wrapper .toggle-password {
            padding: 0 0.4rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: all var(--transition-base);
            font-size: 0.9rem;
            background: none;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 32px;
        }

        .form-group .input-wrapper .toggle-password:hover {
            color: var(--text-primary);
        }

        .form-group .input-wrapper .toggle-password i {
            transition: all var(--transition-base);
        }

        /* ===== VALIDATION MESSAGES ===== */
        .validation-message {
            font-size: 0.7rem;
            font-weight: 500;
            margin-top: 4px;
            display: none;
            align-items: center;
            gap: 4px;
        }

        .validation-message.show {
            display: flex;
        }

        .validation-message.error {
            color: #EF4444;
        }

        .validation-message.success {
            color: #10B981;
        }

        .validation-message i {
            font-size: 0.7rem;
        }

        /* ===== PASSWORD STRENGTH ===== */
        .password-strength {
            margin-top: 6px;
            height: 4px;
            border-radius: var(--radius-full);
            background: var(--border-color);
            overflow: hidden;
            position: relative;
        }

        .password-strength .strength-bar {
            height: 100%;
            border-radius: var(--radius-full);
            transition: width 0.3s ease, background 0.3s ease;
            width: 0%;
        }

        .password-strength .strength-bar.weak {
            width: 25%;
            background: #EF4444;
        }

        .password-strength .strength-bar.fair {
            width: 50%;
            background: #F59E0B;
        }

        .password-strength .strength-bar.good {
            width: 75%;
            background: #3B82F6;
        }

        .password-strength .strength-bar.strong {
            width: 100%;
            background: #10B981;
        }

        .password-strength-text {
            font-size: 0.65rem;
            color: var(--text-muted);
            margin-top: 3px;
            text-align: right;
        }

        .password-strength-text .weak { color: #EF4444; }
        .password-strength-text .fair { color: #F59E0B; }
        .password-strength-text .good { color: #3B82F6; }
        .password-strength-text .strong { color: #10B981; }

        /* ===== TERMS ===== */
        .terms-group {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin: 4px 0 12px;
        }

        .terms-group input[type="checkbox"] {
            width: 16px;
            height: 16px;
            margin-top: 2px;
            accent-color: var(--primary);
            cursor: pointer;
            flex-shrink: 0;
        }

        .terms-group label {
            font-size: 0.75rem;
            color: var(--text-secondary);
            cursor: pointer;
            text-transform: none;
            letter-spacing: 0;
            font-weight: 400;
        }

        .terms-group label a {
            color: var(--primary);
            font-weight: 600;
        }

        .terms-group label a:hover {
            text-decoration: underline;
        }

        /* ===== REGISTER BUTTON (Same as Login Button) ===== */
        .register-btn {
            width: 100%;
            padding: 0.6rem 1.2rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border: none;
            border-radius: var(--radius-md);
            color: white;
            font-weight: 600;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all var(--transition-base);
            font-family: var(--font-family);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            position: relative;
            margin-top: 4px;
            height: 48px;
        }

        .register-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 14px rgba(0, 170, 255, 0.4);
        }

        .register-btn:active {
            transform: scale(0.98);
        }

        .register-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
        }

        .register-btn .spinner {
            display: none;
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        .register-btn.loading .spinner {
            display: inline-block;
        }

        .register-btn.loading i,
        .register-btn.loading span {
            display: none;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .register-btn i {
            font-size: 0.9rem;
        }

        /* ===== DIVIDER (Same as Login) ===== */
        .divider {
            display: flex;
            align-items: center;
            gap: 16px;
            margin: 18px 0;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border-color);
        }

        .divider span {
            font-size: 0.7rem;
            color: var(--text-muted);
            white-space: nowrap;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* ===== SOCIAL LOGIN (Same as Login) ===== */
        .social-login {
            display: flex;
            gap: 8px;
        }

        .social-btn {
            flex: 1;
            padding: 0.4rem 0.8rem;
            border: 2px solid var(--border-color);
            border-radius: var(--radius-md);
            background: var(--bg-white);
            cursor: pointer;
            transition: all var(--transition-base);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 600;
            font-size: 0.75rem;
            color: var(--text-primary);
            font-family: var(--font-family);
            height: 44px;
        }

        .social-btn:hover {
            border-color: var(--primary);
            background: var(--primary-bg);
            transform: translateY(-2px);
        }

        .social-btn.google i {
            color: #DB4437;
            font-size: 1.1rem;
        }

        /* ===== LOGIN LINK (Same as Signup Link) ===== */
        .login-link {
            text-align: center;
            margin-top: 16px;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        .login-link a {
            color: var(--primary);
            font-weight: 600;
        }

        .login-link a:hover {
            text-decoration: underline;
        }

        /* ============================================================
           MESSAGE ALERT
           ============================================================ */
        .message-alert {
            padding: 10px 16px;
            border-radius: var(--radius-md);
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 12px;
            display: none;
        }

        .message-alert.show {
            display: block;
        }

        .message-alert.success {
            background: #d1fae5;
            color: #065f46;
            border: 1px solid #6ee7b7;
        }

        .message-alert.error {
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }

        .message-alert.info {
            background: #dbeafe;
            color: #1e40af;
            border: 1px solid #93c5fd;
        }

        /* ============================================================
           TOAST (Same as Login)
           ============================================================ */
        .toast-container {
            position: fixed;
            bottom: var(--space-lg);
            right: var(--space-lg);
            z-index: 4000;
            display: flex;
            flex-direction: column;
            gap: var(--space-xs);
        }

        .toast {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: var(--space-sm) var(--space-md);
            min-width: 240px;
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            animation: slideIn 0.3s ease;
            box-shadow: var(--shadow-lg);
        }

        .toast.success { border-left: 4px solid #10B981; }
        .toast.success i { color: #10B981; }
        .toast.error { border-left: 4px solid #EF4444; }
        .toast.error i { color: #EF4444; }
        .toast.info { border-left: 4px solid var(--primary); }
        .toast.info i { color: var(--primary-light); }

        .toast-content { flex: 1; }
        .toast-content h4 {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-primary);
        }
        .toast-content p {
            font-size: 0.7rem;
            color: var(--text-secondary);
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateX(40px) scale(0.95); }
            to { opacity: 1; transform: translateX(0) scale(1); }
        }

        /* ============================================================
           RESPONSIVE - MATCHING LOGIN PAGE
           ============================================================ */
        @media (max-width: 992px) {
            .register-container {
                grid-template-columns: 1fr;
                max-width: 480px;
            }
            
            .register-brand {
                padding: 30px 25px;
                text-align: center;
                border-radius: var(--radius-xl) var(--radius-xl) 0 0;
            }
            
            .register-brand .brand-logo {
                justify-content: center;
            }
            
            .register-brand p {
                max-width: 100%;
                margin: 0 auto;
            }
            
            .register-brand .brand-features {
                display: none;
            }
            
            .payment-badges {
                justify-content: center;
            }
            
            .register-form {
                padding: 25px 20px;
            }
            
            .register-form .form-header h3 {
                font-size: 20px;
            }
            
            .social-login {
                flex-direction: column;
            }
        }

        @media (max-width: 768px) {
            .register-wrapper {
                padding: 12px;
                min-height: 100vh;
            }
            
            .register-container {
                max-width: 100%;
                border-radius: var(--radius-md);
            }
            
            .register-brand {
                display: none;
            }
            
            .register-form {
                padding: 24px 18px;
                border-radius: var(--radius-md);
            }
            
            .register-form .form-header h3 {
                font-size: 20px;
            }
            
            .register-form .form-header p {
                font-size: 13px;
            }
            
            .form-group .input-wrapper {
                height: 42px;
            }
            
            .form-group .input-wrapper input {
                padding: 0.5rem 0.4rem;
                font-size: 0.8rem;
            }
            
            .form-group .input-wrapper input::placeholder {
                font-size: 0.75rem;
            }
            
            .form-group label {
                font-size: 0.7rem;
            }
            
            .register-btn {
                padding: 0.5rem 1rem;
                font-size: 0.8rem;
                height: 42px;
            }
            
            .social-btn {
                padding: 0.4rem 0.7rem;
                font-size: 0.7rem;
                height: 38px;
            }
            
            .divider span {
                font-size: 0.6rem;
            }
            
            .login-link {
                font-size: 0.75rem;
            }
        }

        @media (max-width: 480px) {
            .register-wrapper {
                padding: 8px;
            }
            
            .register-form {
                padding: 18px 14px;
            }
            
            .register-form .form-header h3 {
                font-size: 18px;
            }
            
            .register-form .form-header p {
                font-size: 12px;
            }
            
            .form-group {
                margin-bottom: 12px;
            }
            
            .form-group .input-wrapper {
                height: 38px;
            }
            
            .form-group .input-wrapper input {
                padding: 0.4rem 0.3rem;
                font-size: 0.75rem;
            }
            
            .form-group .input-wrapper input::placeholder {
                font-size: 0.7rem;
            }
            
            .form-group .input-wrapper .input-icon {
                font-size: 0.75rem;
                min-width: 24px;
            }
            
            .form-group .input-wrapper .toggle-password {
                font-size: 0.8rem;
                min-width: 28px;
            }
            
            .register-btn {
                padding: 0.4rem 0.8rem;
                font-size: 0.75rem;
                height: 38px;
            }
            
            .social-btn {
                padding: 0.35rem 0.6rem;
                font-size: 0.65rem;
                height: 34px;
            }
            
            .social-btn i {
                font-size: 0.85rem;
            }
            
            .toast {
                min-width: 200px;
                padding: 10px 14px;
            }
            
            .toast-content h4 {
                font-size: 0.75rem;
            }
            .toast-content p {
                font-size: 0.65rem;
            }
            
            .terms-group label {
                font-size: 0.7rem;
            }
        }

        @media (max-width: 360px) {
            .register-form .form-header h3 {
                font-size: 16px;
            }
            
            .register-btn {
                font-size: 0.7rem;
                padding: 0.35rem 0.6rem;
                height: 34px;
            }
            
            .form-group .input-wrapper {
                height: 34px;
            }
            
            .social-btn {
                height: 30px;
                font-size: 0.6rem;
            }
        }

        /* Dark mode support */
        @media (prefers-color-scheme: dark) {
            :root {
                --bg-light: #1A1A2E;
                --bg-white: #242442;
                --bg-gray: #1A1A2E;
                --border-color: #2D2D4A;
                --text-primary: #FFFFFF;
                --text-secondary: #94A3B8;
                --text-muted: #64748B;
                --text-light: #94A3B8;
                --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.4);
            }
            
            body {
                background: #0F0F1A;
            }
            
            .register-container {
                background: var(--bg-white);
            }
            
            .register-form {
                background: var(--bg-white);
            }
            
            .form-group .input-wrapper {
                background: rgba(255, 255, 255, 0.05);
            }
            
            .form-group .input-wrapper input {
                color: white;
            }
            
            .form-group .input-wrapper input::placeholder {
                color: #64748B;
            }
            
            .social-btn {
                background: rgba(255, 255, 255, 0.05);
                border-color: rgba(255, 255, 255, 0.1);
                color: white;
            }
            
            .social-btn:hover {
                background: rgba(255, 255, 255, 0.1);
            }
            
            .toast {
                background: var(--bg-white);
                border-color: var(--border-color);
            }
            
            .toast-content h4 {
                color: white;
            }
            .toast-content p {
                color: var(--text-secondary);
            }
        }

        /* Reduced motion preference */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }
            
            .register-btn:hover {
                transform: none;
            }
            
            .social-btn:hover {
                transform: none;
            }
        }